package com.swsc.solarverse.service;

import com.swsc.solarverse.common.mybatis.MybatisService;
import com.swsc.solarverse.dao.entity.DefectDefinitionDO;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-03-14
 */
public interface IDefectDefinitionService extends MybatisService<DefectDefinitionDO> {
    List<DefectDefinitionDO> listDefectDefinitions(Collection<String> defectCategoryIn);
    List<DefectDefinitionDO> listDefectDefinitions(Integer tenantNo, Integer organNo, Collection<String> defectCategoryIn);
    Map<String, DefectDefinitionDO> getDefectDefinitionMap(String defectCategory);
    Map<String, DefectDefinitionDO> getDefectDefinitionMap(Integer tenantNo, Integer organNo, String defectCategory);
}
